import { Axios } from 'toolkit';
import { notification } from 'antd';


const excludeURL = [
    '/doTest',
    '/userLogin'
];

Axios.config(excludeURL);

notification.config({
    placement: 'topRight',
})


interface Reslut {
    succeed: boolean,
    message: string,
    data: any
}

interface LoginInfo {
    "districtCode": string,
    "orgCode": string,
    "resultCode": 0,
    "token": string,
    "userCode": string,
    "userId": string
}

interface DistrictItem {
    "id": string,
    "code": string,
    "name": string
}





export { LoginInfo, DistrictItem, Reslut }
